package com.powernode.ssm.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@ApiModel("查询操作日志管理请求体")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueryLogInfoVo {

	@ApiModelProperty(value = "id")
	private String id;

	@ApiModelProperty(value = "登录人id")
	private String userid;

	@ApiModelProperty(value = "部门号")
	private String deptno;

	@ApiModelProperty(value = "部门名称")
	private String userorg;

	@ApiModelProperty(value = "登录人ip")
	private String clientip;

	@ApiModelProperty(value = "登录日期")
	private String logindate;

	@ApiModelProperty(value = "登录时间")
	private String logintime;

	@ApiModelProperty(value = "操作信息")
	private String operation;

	@ApiModelProperty(value = "登录方式")
	private String loginway;



   /**
    * 当前页
    */
   @ApiModelProperty(value = "当前页")
   @NotNull(message="翻页参数currentPage不能为空")
   private Integer currentPage = 1;

   /**
    * 当前页记录数
    */
   @NotNull(message="翻页参数size不能为空")
   @ApiModelProperty(value = "当前页记录数")
   @Range(min = 1, max = 200, message = "翻页参数pageSize不合法")
   private Integer pageSize = 30;

}
